#ifndef CASE_H
#define CASE_H

#include <QtCore/QMetaType>

class Case {
public:
	Case(int pNumero = -1);
	Case(const Case& pSource);

	Case& operator=(const Case& pSource);

	inline int nbGraines() const {return m_nbGraines;}
	inline int numJoueur() const {return m_numero < 6 ? 1 : 2;}
	inline int numero() const {return m_numero;}

	void setNbGraines(int pNbGraines);

private:
	int	m_numero;
	int	m_nbGraines;
};

Q_DECLARE_METATYPE(Case)

#endif // CASE_H
